package com.aptech.yuanhuabao.ui.start;

import com.aptech.yuanhuabao.R;
import com.aptech.yuanhuabao.ui.start.activity.LoginActivity;
import com.jaydenxiao.common.base.BaseActivity;

/**
 * des:
 * Created by zhh_li
 * on 2016/12/5.
 */

public class SplashActivity extends BaseActivity{
    @Override
    public int getLayoutId() {
        return R.layout.activity_splash;
    }

    @Override
    public void initPresenter() {

    }

    @Override
    public void initView() {


        new Thread(){
            @Override
            public void run() {
                super.run();
                try {
                    sleep(200);
                    LoginActivity.startAction(SplashActivity.this);
                    finish();
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        }.start();
    }
}
